<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
	<meta name="description" content="">
	<meta name="author" content="">
	<link rel="icon" href="./favicon.ico">

	<title>{$_C.site_name}</title>
	<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/main3.css?v=20151209">

	<!--[if lt IE 9]>
	  <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
	  <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	<![endif]-->
</head>
	<body>
		<!-- loading -->
		<div class="load_page" id="loading">
			<div class="logo load_logo">
				<img src="{$_C.hy_path}images/logo.png" alt="">
			</div>
     		<div class="load_box">
     			<img src="{$_C.hy_path}images/load_box.png" style="width:100%;" alt="">
     			<img src="{$_C.hy_path}images/load_block.png" class="load_block" id="aaa" alt="">
     		</div>
     		<div class="loading_word">
     			<img src="{$_C.hy_path}images/load_word.png" alt="">
     		</div>
     	</div>
		<!-- 原始页 -->
		<div class="indexPage" id="indexPage">
			<div class="s_logo">
				<img src="{$_C.hy_path}images/koobee.png" alt="">
			</div>
			<div class="logo action_1">
				<img src="{$_C.hy_path}images/logo.png" alt="">
			</div>
			<div class="mobile action_2">
				<img src="{$_C.hy_path}images/mobilePic.png" alt="">
			</div>
			<div class="button">
				<div class="btn1 click_btn btn1_click {if $type neq 1}yf-display{/if}" data-type="yes">
					<img src="{$_C.hy_path}images/btn1.png" alt="">
				</div>
				<div class="btn1 click_btn btn6 {if $type neq 0}yf-display{/if}">
					<img src="{$_C.hy_path}images/btn6.png" alt="">
				</div>
				<div class="btn2 click_btn">
					<img src="{$_C.hy_path}images/btn2.png" alt="">
				</div>
				<div class="btn3 click_btn">
					<img src="{$_C.hy_path}images/btn3.png" alt="">
				</div>
			</div>
		</div>

		<!-- 优惠券 -->
		<div class="pageOne">
			<div class="s_logo">
				<img src="{$_C.hy_path}images/koobee.png" alt="">
			</div>
			<div class="context">
				<img src="{$_C.hy_path}images/p1_1.png" alt="">
			</div>
			<div class="red_box">
				<img src="{$_C.hy_path}images/red_bg.png" alt="">
				<div class="reaBag">
					<img src="{$_C.hy_path}images/red_q.png" alt="">
					<div class="num">
						<p><span>￥</span>{$recode.money}</p>
					</div>
				</div>
				<div class="close_bt">
					<img src="{$_C.hy_path}images/close_pic.png" alt="">
				</div>
			</div>
			<div class="btn4 click_btn btn4_click {if $recode.status neq 0}yf-display{/if}">
				<img src="{$_C.hy_path}images/btn4.png" alt="">
			</div>
			<div class="btn4 click_btn btn4_clicked {if $recode.status neq 1}yf-display{/if}">
				<img src="{$_C.hy_path}images/btn4_clicked.png" alt="">
			</div>
			
		</div>

		<!-- 扫码说明页 -->
		<div class="rulePage">
			<div class="s_logo">
				<img src="{$_C.hy_path}images/koobee.png" alt="">
			</div>
			<div class="rulePic">
				<img src="{$_C.hy_path}images/rule_intro.png" alt="">
				<div class="closePic">
					<img src="{$_C.hy_path}images/close_pic.png" alt="">
				</div>
			</div>
		</div>

		<!-- 点击我要使用后的温馨提示页 -->
		<div class="tipsPage">
			<div class="s_logo">
				<img src="{$_C.hy_path}images/koobee.png" alt="">
			</div>
			<div class="tipsPic">
				<img src="{$_C.hy_path}images/tips.png" alt="">
				<div class="use_btn click_btn" data-type="yes">
					<img src="{$_C.hy_path}images/btn7.png" alt="">
				</div>
				<div class="nouse_btn click_btn">
					<img src="{$_C.hy_path}images/btn8.png" alt="">
				</div>
			</div>
		</div>

		<!-- 成功领取页 -->
		<div class="receivePage">
			<div class="s_logo">
				<img src="{$_C.hy_path}images/koobee.png" alt="">
			</div>
			<div class="receivePic">
				<img src="{$_C.hy_path}images/receive_pic.png" alt="">
				<div class="closeBtn">
					<img src="{$_C.hy_path}images/close_pic.png" alt="">
				</div>
			</div>
		</div>

		<!-- 分享页面 -->
		<div class="sharePage">
			<div class="s_logo">
				<img src="{$_C.hy_path}images/koobee.png" alt="">
			</div>
			<div class="shareContent">
				<img src="{$_C.hy_path}images/share_pic.png" alt="">
			</div>
		</div>
		<script>
			window.onload = MyAutoRun;
			function MyAutoRun(){
				document.getElementById("aaa").setAttribute("class","load_block1");
				setTimeout(function(){
					document.getElementById("indexPage").style.display = "block";
					document.getElementById("loading").style.display = "none";
					
					var showType = {$type};
					if(showType)
					{
						setTimeout(function(){
							$('.btn1_click').trigger('click');
						}, 2800);
					}
					else
					{
						setTimeout(function(){
							$('.btn6').trigger('click');
						}, 2800);
					}
				}, 1500)
			}
		</script>
		<script src="{$_C.hy_path}js/jquery-1.11.2.min.js"></script>
		<script src="{$_C.hy_path}js/main2.js?v=20151209"></script>
	  	<script>
	  		var wxid = "{$user.id}";
			var openid = "{$user.openid}";
			var province = {$user.province_code};
			var city = {$user.city_code};
			var shareTitle = "{$shareInfo.share_title}";
			var shareDesc = "{$shareInfo.share_desc}";
			var shareUrl = "{$shareInfo.share_url}";
			var shareImg = "{$shareInfo.share_logo}";
			var jsdkAppid = "{$jsdk.appId}";
			var jsdkTimestamp = {$jsdk.timestamp};
			var jsdkNonceStr = "{$jsdk.nonceStr}";
			var jsdkSignature = "{$jsdk.signature}";
		</script>
		<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
		<script src="{$_C.hy_path}js/wx.js"></script>
		<script>
		var _hmt = _hmt || [];
		(function() {
		  var hm = document.createElement("script");
		  hm.src = "//hm.baidu.com/hm.js?1808fe3e407ca1362ecf1fd7c6ec2b46";
		  var s = document.getElementsByTagName("script")[0]; 
		  s.parentNode.insertBefore(hm, s);
		})();
		</script>
		
	</body>
</html>
